spinbutton: Set the correct state on the button contexts
authorBenjamin Otte <otte@redhat.com>
Thu, 16 Oct 2014 15:00:20 +0000 (17:00 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 16 Oct 2014 15:18:34 +0000 (17:18 +0200)
commit998feeb2bc3e37275cfe915e128179d2704ca9c8
treea5835f2da4a1ab371d81c766d82db9064ae492a0
parenta4a38dff0d9439ba190741112b99877be4a32207
spinbutton: Set the correct state on the button contexts

With the recent save-is-child changes, using
  gtk_style_context_get_padding (context, different_state)
will now open a subelement.

This is not what we want, so we check the state whenever we get the
button contexts.
gtk/gtkspinbutton.c